<?php

use yii\db\Migration;

/**
 * Handles adding columns to table `{{%archive_item}}`.
 */
class m230601_131417_add_register_column_to_archive_item_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->addColumn('{{%archive_item}}', 'register', 'LONGTEXT');
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropColumn('{{%archive_item}}', 'register');
    }
}
